package cc.rengu.redp.bizimpl.upmp.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author lizk
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("T_B_DEVICE_INFO")
@ApiModel(value = "BDeviceInfo对象", description = "")
public class BDeviceInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "非业务主键")
    @TableField("ID")
    private String id;

    @ApiModelProperty(value = "法人机构标识")
    @TableField("INST_ID")
    private String instId;

    @ApiModelProperty(value = "设备编号")
    @TableField("DEVICE_NO")
    private String deviceNo;

    @ApiModelProperty(value = "设备类型")
    @TableField("DEVICE_TYPE")
    private String deviceType;

    @ApiModelProperty(value = "设备描述")
    @TableField("DEVICE_DESC")
    private String deviceDesc;

    @ApiModelProperty(value = "入库方式")
    @TableField("LIBRARY_TYPE")
    private String libraryType;

    @TableField("LIBRARY_BATCH")
    private String libraryBatch;

    @ApiModelProperty(value = "终端型号代码")
    @TableField("MODEL_CODE")
    private String modelCode;

    @ApiModelProperty(value = "终端厂商代码")
    @TableField("BRAND_CODE")
    private String brandCode;

    @TableField("SN")
    private String sn;

    @ApiModelProperty(value = "有效期开始日期")
    @TableField("START_DATE")
    private String startDate;

    @ApiModelProperty(value = "有效期截止日期")
    @TableField("END_DATE")
    private String endDate;

    @ApiModelProperty(value = "联系人姓名")
    @TableField("CONTACT_NAME")
    private String contactName;

    @ApiModelProperty(value = "联系电话")
    @TableField("CONTACT_PHONE")
    private String contactPhone;

    @ApiModelProperty(value = "联系人电子邮箱")
    @TableField("CONTACT_EMAIL")
    private String contactEmail;

    @ApiModelProperty(value = "联系地址")
    @TableField("CONTACT_ADDR")
    private String contactAddr;

    @ApiModelProperty(value = "关联商户编码")
    @TableField("MCHNT_NO")
    private String mchntNo;

    @ApiModelProperty(value = "关联虚拟终端编号")
    @TableField("TERM_NO")
    private String termNo;

    @ApiModelProperty(value = "设备购置方式")
    @TableField("DEVICE_PURCH_TYPE")
    private String devicePurchType;

    @TableField("DEVICE_PRICE")
    private String devicePrice;

    @TableField("LEASE_START_DATE")
    private String leaseStartDate;

    @ApiModelProperty(value = "租赁截止日期")
    @TableField("LEASE_END_DATE")
    private String leaseEndDate;

    @TableField("DEVICE_LEASE_PRICE")
    private String deviceLeasePrice;

    @TableField("CASH_PLEDGE")
    private String cashPledge;

    @ApiModelProperty(value = "审批拒绝原因")
    @TableField("AUDIT_REFUSE_REASON")
    private String auditRefuseReason;

    @ApiModelProperty(value = "审批状态")
    @TableField("AUDIT_STATUS")
    private String auditStatus;

    @ApiModelProperty(value = "设备状态")
    @TableField("STATUS")
    private String status;

    @ApiModelProperty(value = "创建机构")
    @TableField("CRT_ORG_ID")
    private String crtOrgId;

    @ApiModelProperty(value = "创建人")
    @TableField("OPR_ID")
    private String oprId;

    @ApiModelProperty(value = "创建时间戳")
    @TableField("CREATE_TIME")
    private String createTime;

    @TableField("LAST_OPR_ID")
    private String lastOprId;

    @ApiModelProperty(value = "最后修改时间戳")
    @TableField("LAST_UPDATE_TIME")
    private String lastUpdateTime;

    @TableField("LAST_AUDIT_ID")
    private String lastAuditId;

    @TableField("LAST_AUDIT_TIME")
    private String lastAuditTime;

    @ApiModelProperty(value = "备用字段1")
    @TableField("RESERVE1")
    private String reserve1;

    @ApiModelProperty(value = "备用字段2")
    @TableField("RESERVE2")
    private String reserve2;

    @ApiModelProperty(value = "备用字段3")
    @TableField("RESERVE3")
    private String reserve3;

    @ApiModelProperty(value = "备用字段4")
    @TableField("RESERVE4")
    private String reserve4;

    @ApiModelProperty(value = "备用字段5")
    @TableField("RESERVE5")
    private String reserve5;

    @ApiModelProperty(value = "备用字段6")
    @TableField("RESERVE6")
    private String reserve6;

    @ApiModelProperty(value = "备用字段7")
    @TableField("RESERVE7")
    private String reserve7;

    @ApiModelProperty(value = "备用字段8")
    @TableField("RESERVE8")
    private String reserve8;

    @TableField(exist = false)
    private String brandName;
    @TableField(exist = false)
    private String modelName;


}
